<template>
	<view class="container">
		<view class="header">
			<view class="header-title">君臣庆会格</view>
			<view class="header-subTitle">可做领导，能创事业</view>
		</view>
		<view class="grid-container">
			<view class="grid-item">
				<view class="item-content">
					<view class="item-title">命宫</view>
					<view class="item-subTitle">紫薇·破军</view>
				</view>
				<image class="item-icon" src="/static/fortune/crapeMyrtle/icon-palace-1.png" mode="widthFix" />
			</view>
			<view class="grid-item">
				<view class="item-content">
					<view class="item-title">迁移宫</view>
					<view class="item-subTitle">天相</view>
				</view>
				<image class="item-icon" src="/static/fortune/crapeMyrtle/icon-palace-2.png" mode="widthFix" />
			</view>
			<view class="grid-item">
				<view class="item-content">
					<view class="item-title">事业宫</view>
					<view class="item-subTitle">廉贞·贪狼</view>
				</view>
				<image class="item-icon" src="/static/fortune/crapeMyrtle/icon-palace-3.png" mode="widthFix" />
			</view>
			<view class="grid-item">
				<view class="item-content">
					<view class="item-title">迁移宫</view>
					<view class="item-subTitle">武曲·七杀</view>
				</view>
				<image class="item-icon" src="/static/fortune/crapeMyrtle/icon-palace-4.png" mode="widthFix" />
			</view>
		</view>
		<view class="disclaimer">
			<text>① 当前内容为免费内容，仅供您在娱乐中探索自我，不等于专业测评，不代表价值批判，无任何现实指导意义。</text>
		</view>
		<view class="detail-section">
			<view class="detail-block" v-for="(item,index) in 4" :key="index">
				<view class="detail-title">
					<image src="/static/fortune/crapeMyrtle/icon-detail-1.png" mode="widthFix" />
					<text>命宫·紫薇</text>
				</view>
				<view class="detail-outline">今天你严肃而又认证，似乎要比之前更加成熟稳重了，这种情况下，也非常适合找合适的人，去探讨一些深入的问题。</view>
				<view class="detail-text">
					紫微星在命宫一般代表着你的个性鲜明，会有心高气傲、君临天下的心性，有领导欲、控制欲和强烈的自尊心，喜欢掌权，不甘心屈于人下。
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		padding: 0 40rpx 40rpx;
		color: #ffffff;

		.header {
			text-align: center;
			margin-bottom: 40rpx;

			.header-title {
				font-weight: 600;
				font-size: 36rpx;
				color: #ffffff;
				line-height: 50rpx;
				margin-bottom: 16rpx;
			}

			.header-subTitle {
				font-weight: 400;
				font-size: 28rpx;
				color: rgba(255, 255, 255, 0.6);
				line-height: 32rpx;
			}
		}

		.grid-container {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 20rpx;

			.grid-item {
				background-image: url('/static/fortune/crapeMyrtle/buttonbg.png');
				background-size: 100% 100%;
				border-radius: 10rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 0 55rpx;
				width: 328rpx;
				height: 118rpx;


				.item-title {
					font-family: PingFangSC, PingFang SC;
					font-weight: 600;
					line-height: 48rpx;
					font-size: 30rpx;
					color: #1B203A;
				}

				.item-subTitle {
					font-size: 24rpx;
					color: #6D7497;
					line-height: 32rpx;
				}

				.item-icon {
					width: 64rpx;
				}
			}
		}

		.disclaimer {
			font-size: 24rpx;
			color: rgba(255, 255, 255, 0.6);
			padding: 33rpx 0 56rpx;
			text-align: center;
		}

		.detail-section {

			.detail-block {
				background: rgba(33, 27, 52, 0.6);
				border-radius: 24rpx;
				border: 1rpx solid #635873;
				padding: 25rpx;
				margin-bottom: 20rpx;

				.detail-title {
					font-weight: 600;
					font-size: 28rpx;
					color: #FFFFFF;
					line-height: 40rpx;
					margin-bottom: 16rpx;
					display: flex;
					align-items: center;

					image {
						width: 32rpx;
						margin-right: 5rpx;
					}
				}

				.detail-outline {
					background: #363251;
					border-radius: 12rpx;
					padding: 10rpx 20rpx;
					color: #9086AE;
					font-weight: 400;
					font-size: 22rpx;
					line-height: 28rpx;
					margin-bottom: 16rpx;
				}

				.detail-text {
					font-size: 24rpx;
					color: #9086AE;
					line-height: 32rpx;
				}
			}
		}
	}
</style>